import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/views/Home'
import Cinema from '@/views/Cinema'
import Me from '@/views/Me'
import No from '@/views/No'
import CinemaDetail from '@/views/CinemaDetail'
import MovieDetail from '@/views/MovieDetail'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Home
    },{
    	path:'/cinema',
    	component:Cinema
    },{
    	path:'/me',
    	component:Me
    },{
      path:'/no',
      component:No
    },{
      path:'/cinema/detail/:id',
      name: 'cdetail',
      component:CinemaDetail
    },{
      path : '/movie/detail/:id',
      name: 'detail',
      component:MovieDetail
    }
  ]
})